home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
appsrcs.zip
/
APPFINDR.ZIP
/
TOOLS.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-26
|
780b
|
23 lines
#define STRICT
#include <windows.h>
#include <windowsx.h>
#include <stdio.h>
#include <stdarg.h>
#include "AppFindr.h"
char szBuffer[256];
/*----------------------------------------------------------------------------*/
/* FUNCTION: OkMsgBox(char *szCaption, char *szFormat, ...) */
/* */
/* PURPOSE: Display in an OKmessageBox a given text */
/*----------------------------------------------------------------------------*/
VOID OkMsgBox(char *szCaption, char *szFormat, ...)
{
char *pArguments;
pArguments = (char *) &szFormat + sizeof(szFormat);
vsprintf(szBuffer, szFormat, pArguments);
MessageBox(NULL, szBuffer, szCaption, MB_OK);
}